export default {
  namespace: "scrollLeft",
  state: {
    scrollLeft: 0,
    scrollEndLeft: 0
  },
  effects: {},
  reducers: {
    changeScrollLeft(state, { payload }) {
      state.scrollLeft = payload.scrollLeft;
      return { ...state };
    },
    changeScrollEndLeft(state, { payload }) {
      state.scrollEndLeft = payload.scrollEndLeft;
      return { ...state };
    }
  }
};
